<div class="modal-dialog">
    <div class="modal-content">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
            <h4 class="modal-title">文件借阅</h4>
        </div>
        <div class="modal-body">
            <form class="modalForm form-horizontal" action="{:url('index/Borrows/auditFile')}" method="post">
                <input type="hidden" name="id" value="{$data.bor_id}">
                <input type="hidden" name="fq" class="fq" value="0">
                <input type="hidden" name="dh" class="dh" value="0">

                <div class="form-body">
                    <div class="form-group">
                        <label class="col-md-3 control-label">借阅文件</label>
                        <div class="col-md-9">
                            <input type="text" readonly class="form-control guidf" value="{$data.arc_name}.{$data.arc_type}" placeholder="请输入借阅文件">
                            <input type="hidden" name="arc_id" value="{$data.arc_id}" class="arc_id">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">借阅期限</label>
                        <div class="col-md-9">
                            <input type="text" readonly class="form-control guidf" value="{$data.bor_time_limit}" placeholder="请输入借阅期限">
                            <input type="hidden" name="arc_id" value="{$data.arc_id}" class="arc_id">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">借阅份数</label>
                        <div class="col-md-9">
                            <input type="text" readonly class="form-control guidf" value="{$data.bor_num}" placeholder="请输入借阅份数">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">申请说明</label>
                        <div class="col-md-9">
                            <input type="text" readonly class="form-control guidf" value="{$data.bor_desc}" placeholder="请输入申请说明">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">借阅状态</label>
                        <div class="col-md-9">
                            {if condition="$data['bor_status'] eq 1"}申请中
                                {elseif condition="$data['bor_status'] eq 2"/}审核通过
                                {else/}已打回
                            {/if}
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">借阅连接</label>
                        <div class="col-md-9">
                            {if condition="$data['bor_status'] eq 1"}申请中
                            {elseif condition="$data['bor_status'] eq 2"/}<a target="_blank" href="{:url('index/BorrowsShow/index',array('id'=>$data['bor_id']))}">查看连接</a>
                            {else/}已打回
                            {/if}
                        </div>
                    </div>
                    <!--<div class="form-group">
                        <label class="col-md-3 control-label">文件目录</label>
                        <div class="col-md-9">
                            <input type="text" readonly class="form-control guidf" value="{$data.bor_desc}" placeholder="请输入申请说明">
                        </div>
                    </div>-->
                </div>
            </form>
        </div>
        <div class="modal-footer">
            <button type="button" class="btn default model1close" data-dismiss="modal">关闭</button>
        </div>
    </div>
</div>


<script>
    dt().modalSave();
</script>